package com.hotel.daos;

import com.hotel.entitys.Role;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface RoleMapper {
    public List<Role> selAllRole();

    public List<Integer> selectCheckedRole(Integer staff_id);

    public void deleteRoleById(Integer staff_id);

    public int updateRoleById(Integer staff_id, List<Integer> list);
}
